#ifndef RAMROD_PROJECT_FINAL_ROBBER_H
#define RAMROD_PROJECT_FINAL_ROBBER_H

#include "car.h"
#include <vector>
#include <stdlib.h>
#include <time.h>

class Cop;

class Robber : public Car {
public:
	 //big 4;
	 Robber();
	 Robber(std::vector<Cop*> vcops, Position *s, Position *f, Map* _map);
	 virtual ~Robber();
	 Robber(const Robber& other);
	 Robber& operator=(const Robber& other);

   	 void takeTurn();	 

private:
	bool checkCopWithinRadius();
	Position* getEscapeRoute();
	Direction directionHelper();

	std::vector<Cop*> cops;
 	Position* hideoutPosition;
	bool escapeMode;
	int myRadius;	
	
};

#endif // RAMROD_PROJECT_FINAL_ROBBER_H